vt-d: Allocate iommu pages from domheap rather than xenheap.
authorKeir Fraser <keir@xensource.com>
Mon, 1 Oct 2007 05:34:40 +0000 (06:34 +0100)
committerKeir Fraser <keir@xensource.com>
Mon, 1 Oct 2007 05:34:40 +0000 (06:34 +0100)
commit1da2cdf6e333d76d70bec945f1f1a8d6ebb7cc9a
tree8f9c268e05535a787a43c5484a4348e566cd7981
parent7566bcec5d5f6ae43ef58d4f35a2a013fb22d72a
vt-d: Allocate iommu pages from domheap rather than xenheap.

xenheap size is 9M on x86/32 xen, it's not enough to setup 1:1 mapping
page table for dom0. It causes dom0 cannot boot successfully. Instead
of xenheap, this patch setup 1:1 mapping page tabel in domheap, and
use map_domain_page() to get temporary mappings when need them.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/arch/x86/hvm/vmx/vtd/intel-iommu.c